package com.ibeeking.found.upms.service.common.param;

import com.ibeeking.nematos.utils.base.BaseValidationGroup;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClassName OpenUserBO
 * @Description
 * @Author ibeeking
 * @Date 2020-12-02 15:29
 **/
@Data
public class OpenUserParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotNull(message = "id不能为空", groups = {BaseValidationGroup.Update.class})
    private Long id;

    /**
     * name
     */
    @NotBlank(message = "标题必填")
    private String name;

    /**
     * remark
     */
    private String remark;

    /**
     * appSecret
     */
    private String appSecret;

    private String readSecret;

    /**
     * 是否演示用户;0=否；1=是
     */
    private Integer demoUser;
}
